/*--------------------------------------------------------------------------
  Project::MONDIALI SCI ALPINISMO
  Package::Gui
  Class::Gui
  File Gui.h
  --------------------------------------------------------------------------
  * METHODS AND CLASS PARAMETERS


  --------------------------------------------------------------------------
  * FUNCTIONS DESCRIPTION
  
	...

  --------------------------------------------------------------------------
  * COPYRIGHT

  --------------------------------------------------------------------------
  * INFO ABOUT AUTHOR AND VERSIONS
  Author:	Tino Giorgio	Data: 
  Rev1:			Data:

  --------------------------------------------------------------------------
  * E-MAIL & CONTACTS

  GIORGIO TINO:	tinoshi@libero.it
	           	shapeofangels@hotmail.com
	            giorgio.tino@studenti.polito.it

  --------------------------------------------------------------------------*/

#if !defined(BLINKINGIMAGE_H)
#define BLINKINGIMAGE_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "BitmapImage.h"
#include <plib/ul.h>

/* Application Includes*/

class BlinkingImage : public BitmapImage
{
public:
	BlinkingImage(const char *filename, eAlphaKey alphaKey = eAlphaKey_RED, const float x = 0, const float y = 0, const float dx = 0, const float dy = 0, const float bt = 0);
	virtual ~BlinkingImage();
	
protected:
	void update();
    
 private:
    ulClock ck;
    float blinkingTime;
    float deltaTime;
};

#endif // !defined(BLINKINGIMAGE_H)
